<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <!--CDN引入方式-->
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>
<body>

<div id="app">
    <h1>{{msg}}</h1>
    <table cellspacing="0" cellpadding="10" border="1">
        <tr>
            <th>序号</th>
            <th>用户id</th>
            <th>用户姓名</th>
            <th>用户密码</th>
            <th>用户性别</th>
            <th>用户地址</th>
        </tr>
        <tr v-for="(user, index) in users">
            <td>{{index + 1}}</td>
            <td>{{user.id}}</td>
            <td>{{user.uname}}</td>
            <td>{{user.pwd}}</td>
            <td>{{user.sex}}</td>
            <td>{{user.address}}</td>
        </tr>
    </table>
</div>

</body>

<script src="../js/vue06.js" />

</html>